﻿using AutoMapper;
using B.S.BaseData.WriteAPI.Applications.Commands.CarCommands;
using B.S.BaseData.WriteAPI.Applications.Commands.DangerousCommands;
namespace B.S.BaseData.WriteAPI
{
    public class MapperProFiles:Profile
    {
        public MapperProFiles()
        {
            CreateMap<AddCarCommand, Domain.Car>().ReverseMap();

            CreateMap<AddDangerousCommand, Domain.Dangerous>().ReverseMap();
        }
    }
}
